<div class="slide_wrap">
   <div class="line_home"></div>
   <div class="slide_inner w1130">
      <div class="cover_left"></div>
      <div class="cover_right"></div>
      <div id="page">
			<div id="container">

				<!-- Start Advanced Gallery Html Containers -->
				<div id="gallery" class="content">
					<div class="slideshow-container">
						<div id="loading" class="loader"></div>
						<div id="slideshow" class="slideshow"></div>
					</div>
					<div id="caption" class="caption-container"></div>
				</div>
				<div id="thumbs" class="navigation">
					<ul class="thumbs noscript">
               <?
                  $pro_hot = $templateHome->HotProducts();
                  $i = 0;
                  foreach($pro_hot as $row){
                     $i++;
               ?>
                  <li>
                     <a class="thumb" name="leaf" href="<?=PATH_PICTURE_PRODUCT.$row['pro_image_slide']?>" title="<?=$row['pro_name']?>">
                        <span id="project-path" style="display:none;"><?=generate_product_detail_url($row)?></span>
                        <div class="thumb_btn<?=$i?>">
                           <div class="arrow_thumb_active">
                              <img class="" src="<?=PATH_IMAGE_THEME?>arrow_thumb_active.png"/>
                           </div>
                           <p class="thumb_brand">MASS</p>
                           <p class="thumb_soft_name"><?=$row['pro_name']?></p>
                        </div>
							</a>
                     <div class="caption">
								<p class="pro_title"><?=$row['pro_name']?></p>
								<p class="pro_des"><?=$row['pro_slide_introduction']?></p>
                        <?if($row['pro_promotion'] == 1){ ?>
                           <p class="pro_safe">Khuyến mãi <?=$row['pro_name']?></p> 
                           <p class="pro_price">
                              <?
                                 if($row['pro_price_year_promotion'] == 0){
                                    echo format_price_fontend($row['pro_price_lifetime_promotion'])." / Trọn đời";
                                 }else echo format_price_fontend($row['pro_price_year_promotion'])." VNĐ/năm" ;
                              ?>
                           </p>
                           <p class="pro_safe"><?=$row['pro_promotion_time']?> </p>
                        <? } ?>
							</div>
                  </li>
               <? } ?>                  
					</ul>
				</div>
				<!-- End Advanced Gallery Html Containers -->
				<div style="clear: both;"></div>
			</div>
		</div>
   </div>
   
   <div class="line_home"></div>
</div>